package hn.cch;

import hn.cch.https.HttpsServer;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class Main {

    private static Logger logger = LoggerFactory.getLogger(Main.class);

    public static void main(String[] args) {

        logger.info("access main start");
        //加载实例

        //启动服务
        HttpsServer httpsServer = new HttpsServer(8899);
        Thread thread = new Thread(httpsServer);
        logger.info("access server start");
        thread.start();
        logger.info("access server success");

        logger.info("access main success");
    }
}
